//
//  IGAttentionApi.m
//  jingdongfang
//
//  Created by MTiMac02 on 2017/9/20.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGAttentionApi.h"

@implementation IGAttentionApi


-(id)initWithMuseumId:(NSString *)museumId operatorType:(NSString *)operatorType uId:(NSString *)uId{
    self=[super init];
    if (self) {
        _museumId=museumId;
        _operatorType=operatorType;
        _uId=uId;
    }
    return self;
}
- (YTKRequestMethod)requestMethod
{
    return YTKRequestMethodPOST;
}

- (NSString *)requestUrl
{
    return @"works/artGallery!attentionMuseum.action";
}

- (id)requestArgument
{
    return @{
             @"uId": [IGUser getUid],
             @"operator": _operatorType,
             @"museumId":_museumId
             };
}

@end

@implementation IGAttentionModel
+(BOOL)propertyIsOptional:(NSString *)propertyName
{
    return YES;
}
@end

@implementation IGAttentionResp

@end
